#include <cstdio>
#define PI 3.1415926535897932

int main() {
	int r;
	scanf("%d", &r);
	double s;
	s = PI * r * r;
	printf("%.7lf\n", s);
	return 0;
}
